package com.jic.order.service;

import com.jic.order.model.OrderModel;
import com.jic.order.model.ParentOrderModel;
import com.jic.order.model.domain.OperateModel;
import com.jic.order.model.domain.OrderDeliverModel;

public interface ModelService {

	void fillParentOrder(ParentOrderModel parentOrderModel);

	void fillOrder(OrderModel orderModel);

	void fillDeliver(OrderDeliverModel orderDeliverModel);

	void saveParentOrder(ParentOrderModel parentOrderModel, OperateModel operateModel);

	void saveOrder(OrderModel orderModel, OperateModel operateModel);

	void saveDeliver(OrderDeliverModel orderDeliverModel, OperateModel operateModel);

	//联动改变子订单状态
	void coupUpdateOrderStatus(String orderNo);

	//联动改变父订单状态
	void coupUpdateParentOrderStatus(String parentOrderNo);

}
